package com.zandequan.modules.article.service;

import com.zandequan.modules.article.entity.MediaEntity;

import java.util.List;
import java.util.Map;

/**
 * 文章_媒体表，图片，视频，音频，附件
 * 
 * @author treesea
 * @email 2117999344@qq.com
 * @date 2017-08-13 00:01:18
 */
public interface MediaService {
	
	MediaEntity queryObject(Integer articleMediaId);
	
	List<MediaEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(MediaEntity media);
	
	void update(MediaEntity media);
	
	void delete(Integer articleMediaId);
	
	void deleteBatch(Integer[] articleMediaIds);
}
